﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using schedulelist.ORM.domain;
namespace schedulelist.ORM.dao.interfaces
{
    public interface ITicketsDAO : IGenericDAO<Tickets>
    {
        Tickets getTicketByOwner(
        User owner);

        Tickets getTicketById(int id);
        IList<Tickets> getTicketsByCat(Category cat);
        IList<Tickets> getTicketsByCust(Customer cust);
        IList<Tickets> getTicketsByOwner(User u);
        IList<Tickets> getTicketsByExecutor(User ex);
    }
}
